package com.xiaomi.service;


import com.xiaomi.entity.Cart;

import java.util.List;

/**
 * @author jy
 * @Description: TODO
 * @date 2021/5/24
 */
public interface CartService {

    int createCart(String pid, int uid);

    List<Cart> showCartsByUid(int uid);

    int update(String cid, String num, String price);

    int delete(String cid);

    int clear(String uid);
}
